Similar to previous commit, this should be private.
https://bugzilla.gnome.org/show_bug.cgi?id=731369
{
#ifdef HAVE_LIBSOUP_CLIENT_CERTS
gs_unref_object GTlsInteraction *interaction =
- (GTlsInteraction*)ostree_tls_cert_interaction_new (fetcher->client_cert);
+ (GTlsInteraction*)_ostree_tls_cert_interaction_new (fetcher->client_cert);
g_object_set (fetcher->session, "tls-interaction", interaction, NULL);
#else
g_warning ("This version of OSTree is compiled without client side certificate support");
#include <string.h>
-G_DEFINE_TYPE (OstreeTlsCertInteraction, ostree_tls_cert_interaction, G_TYPE_TLS_INTERACTION);
+G_DEFINE_TYPE (OstreeTlsCertInteraction, _ostree_tls_cert_interaction, G_TYPE_TLS_INTERACTION);
static GTlsInteractionResult
request_certificate (GTlsInteraction *interaction,
}
static void
-ostree_tls_cert_interaction_init (OstreeTlsCertInteraction *interaction)
+_ostree_tls_cert_interaction_init (OstreeTlsCertInteraction *interaction)
{
}
static void
-ostree_tls_cert_interaction_class_init (OstreeTlsCertInteractionClass *klass)
+_ostree_tls_cert_interaction_class_init (OstreeTlsCertInteractionClass *klass)
{
GTlsInteractionClass *interaction_class = G_TLS_INTERACTION_CLASS (klass);
interaction_class->request_certificate = request_certificate;
}
OstreeTlsCertInteraction *
-ostree_tls_cert_interaction_new (GTlsCertificate *cert)
+_ostree_tls_cert_interaction_new (GTlsCertificate *cert)
{
OstreeTlsCertInteraction *self = g_object_new (OSTREE_TYPE_TLS_CERT_INTERACTION, NULL);
self->cert = g_object_ref (cert);
G_BEGIN_DECLS
-#define OSTREE_TYPE_TLS_CERT_INTERACTION (ostree_tls_cert_interaction_get_type ())
+#define OSTREE_TYPE_TLS_CERT_INTERACTION (_ostree_tls_cert_interaction_get_type ())
#define OSTREE_TLS_CERT_INTERACTION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), OSTREE_TYPE_TLS_CERT_INTERACTION, OstreeTlsCertInteraction))
#define OSTREE_TLS_CERT_INTERACTION_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), OSTREE_TYPE_TLS_CERT_INTERACTION, OstreeTlsCertInteractionClass))
#define OSTREE_IS_TLS_CERT_INTERACTION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), OSTREE_TYPE_TLS_CERT_INTERACTION))
typedef struct _OstreeTlsCertInteraction OstreeTlsCertInteraction;
typedef struct _OstreeTlsCertInteractionClass OstreeTlsCertInteractionClass;
-GType ostree_tls_cert_interaction_get_type (void) G_GNUC_CONST;
+GType _ostree_tls_cert_interaction_get_type (void) G_GNUC_CONST;
-OstreeTlsCertInteraction * ostree_tls_cert_interaction_new (GTlsCertificate *cert);
+OstreeTlsCertInteraction * _ostree_tls_cert_interaction_new (GTlsCertificate *cert);
G_END_DECLS